package com.myl.service.system;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.myl.domain.system.Role;

public interface RoleService {

	//增删改查
	   void save(Role role);
	   
	   void delete(Role role);
	   
	   void update(Role role);
	   
	   Role findById(String id);
	   
	   List<Role> findAll();
	   //分页查找
	   PageInfo  findAll(int page,int size);

	   void updateRoleModule(String roleId, String moduleIds);

	List<Role> findAllRoleByUserId(String userId);
	
}
